const index = (resolve) => {
  import('../page/index.vue').then((module) => {
    resolve(module)
  })
}

const login = (resolve) => {
  import('../page/login.vue').then((module) => {
    resolve(module)
  })
}


export default [{
    path: '/',
    redirect: 'index',
  },
  {
    path: '/index',
    name: 'index',
    component: index,
  },
  {
    path: '/login',
    name: 'login',
    component: login
  },
]
